package com.bulletelc.apollopre.mvpTemplate;

import android.os.Bundle;

import com.bulletelc.apollopre.R;
import com.bulletelc.apollopre.framework.MVPBaseActivity;
import com.bulletelc.apollopre.widget.FoolBar;

/**
 * Created by Administrator on 2018/5/16.
 */

public class IntentionListActivity extends MVPBaseActivity<IntentListContract.View, IntentListPresenter> implements IntentListContract.View,
        FoolBar.ClickCallback {
        private FoolBar flBar;

    @Override
    public int getLayoutRes() {
        return R.layout.quotation_list_activity;
    }

    @Override
    public void assignViews() {
//        flBar = findView(R.id.flBar);
//        lvQuotation = findView(R.id.lvQuotation);
//        tvTotal = findView(R.id.tvTotal);
//        tvEdit = findView(R.id.tvEdit);
//        btnCancel = findView(R.id.btnCancel);
//        btnPay = findView(R.id.btnPay);
    }

    @Override
    public void setListener() {
//        flBar.setClickCallback(this);
    }

    @Override
    public void initData(Bundle savedInstanceState) {
//        flBar.setTitle("定制报价清单");
    }

    @Override
    public void onLeftClick() {
        finish();
    }

    @Override
    public void onRightClick() {

    }

    @Override
    public void onSuccessIntentList() {

    }

    @Override
    public void onErrorIntentList(String error) {

    }

    @Override
    public void onFailIntentList(String fail) {

    }

    @Override
    protected IntentListPresenter createPresenter() {
        return new IntentListPresenter();
    }
}
